package com.zeng.user.web.listener;

import com.zeng.web.WebApplicationInitializer;

import javax.servlet.ServletContext;
import javax.servlet.ServletException;

/**
 * @author zyb
 * @date 2021-03-22 22:59
 */
public class ServletTestContextInitializer implements WebApplicationInitializer {
    @Override
    public void onStartup(ServletContext servletContext) throws ServletException {
        servletContext.addListener(TestInitializerListener.class);
    }

    @Override
    public int ordinal() {
        return Integer.MIN_VALUE;
    }
}
